#ifndef GL_SHADER_H
#define GL_SHADER_H

#include <string>

class GLShader
{
public:
  GLShader();
  bool Create(const std::string& vertexSource, const std::string& fragmentSource);
  bool Load(const char* vertFilename, const char* fragFilename);
  void UseThisShader();

  void Set(const std::string& name, float f);
  void Set(const std::string& name, int i);

private:
  unsigned int m_program;
};

#endif
